

class Point<T> {
    x: T
    y: T
    z: T
    constructor(x:T, y: T, z:T) {
        this.x = x
        this.y = y
        this.z = z
    }
}

const p1 = new Point( '1231', '343', '43534')
const p2 = new Point<string>( '1231', '343', '43534')